﻿@{
    <link href="~/css/table.css" rel="stylesheet" />
    <script src="~/javascript/calendar/cal.js"></script>
    <script src="~/javascript/comm/comm.js"></script>
    <script src="~/javascript/comm/list.js"></script>
    <script src="~/javascript/calendar-ch.js"></script>
    <script src="~/javascript/comm/time.js"></script>
    <script src="~/js/jquery-1.11.1.js"></script>
    <script src="~/js/vue.js"></script>
}

<body>
    <div id="app">
        <input type="hidden" name="page.startPage" value="0">
        <table width="100%">
            <tr>
                <td>
                    <font color="black">您正在做的业务是:人力资源管理--薪酬标准管理--薪酬标准查询</font>
                </td>
            </tr>
            <tr>
                <td>
                    <div align="right">
                        <button type="button" v-on:click="select()" class="BUTTON_STYLE1">查询</button>
                    </div>
                </td>
            </tr>
        </table>
        <table width="100%" border="1" cellpadding=0 cellspacing=1
               bordercolorlight=#848284 bordercolordark=#eeeeee
               class="TABLE_STYLE2">
            <tr>
                <td width="20%" class="TD_STYLE1">
                    请输入薪酬标准编号
                </td>
                <td class="TD_STYLE2">
                    <input type="text" id="bzbh" name="standard.standardId" value=""
                           class="INPUT_STYLE1">
                </td>
            </tr>
            <tr>
                <td class="TD_STYLE1">
                    请输入关键字
                </td>
                <td class="TD_STYLE2">
                    <input type="text" id="gjz" name="utilbean.primarKey" class="INPUT_STYLE1">
                </td>
            </tr>
            <tr>
                <td class="TD_STYLE1">
                    请输入建档时间
                </td>
                <td width="84%" class="TD_STYLE2">
                    <input name="utilbean.startDate" onclick="aa('utilbean.startDate')" type="text" class="INPUT_STYLE2" id="date_start" style="width:24% " value="" size="30">
                    至 <input type="text" name="utilbean.endDate" onclick="aa('utilbean.endDate')" value="" style="width:24% " class="INPUT_STYLE2" id="date_end">
                    （YYYY-MM-DD）
                </td>
            </tr>
        </table>
    </div>

    <script type="text/javascript">
        var vm = new Vue({
            el: "#app",
            data: {

            },
            methods: {
                select: function () {
                    var bh = $("#bzbh").val();
                    var gjz = $("#gjz").val();
                    var start = $("#date_start").val();
                    var end = $("#date_end").val();
                    if (bh == null || bh == "" || gjz == null || gjz == "" || start == null || start == "" || end == null || end == "") {
                        return false;
                    } else {
                        location.href = "/xinchoubiaozhun/salarystandard_query_list?bh=" + bh + "&gjz=" + gjz + "&start=" + start + "&end=" + end;
                    }
                }
            }
        });
    </script>
</body>

